import request from '@/utils/request'

//查询列表
export function getList(query) {
  return request({
    url: '/ipList/getAllScriptMonitorInfo',
    method: 'get',
    params: query
  })
}

//搜索
export function searchHost(query) {
  return request({
    url: '/ipList/getScriptMonitorInfoByIp',
    method: 'get',
    params: query
  })
}